//
//  XFDataHandel.h
//  Xunfei
//
//  Created by 云鹏 赵 on 15/3/12.
//  Copyright (c) 2015年 云鹏 赵. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "iflyMSC/IFlySpeechSynthesizer.h"
#import "iflyMSC/IFlySpeechRecognizer.h"

@interface XFDataHandel : NSObject<IFlySpeechRecognizerDelegate, IFlySpeechSynthesizerDelegate>
{
    IFlySpeechSynthesizer *iFlySpeechSynthesizer;
    IFlySpeechRecognizer *iflySpeechRecognizer;
}
@property(nonatomic,retain) NSMutableString *result;

@property(nonatomic,copy)void(^onResult)(NSString*);

+(id)shareManager;

-(void)playVoice:(NSString*)str;

-(void)discernBlock:(void(^)(NSString*))a;

@end
